home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.6 KB | 61 lines | [TEXT/GEOL] |
- Item 3528937 18-Oct-90 09:30PDT
-
- From: STRONG.S Strong, Steve
-
- To: LALEKERMAC CSX Technology, W Laleker,SSF,PAS
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: macapp debuggery
-
- W Laleker:
-
- I assume that you are aware that if you compile MacApp and your program with
- the -debug option you can use the MacApp debugger. Actually, that may not be a
- good assumption since the default build options on MacApp have been changed to
- set -nodebug as the default. You can change this by opening the Startup file
- in your MacApp folder and replacing -nodebug with -debug in the build options.
- Look at the MacApp documentation (chapter 7 in "Introduction to MacApp® 2.0 and
- Object-Oriented Programming) for details regarding using the MacApp debugger.
- It's a pretty good debugger, but it's missing one very important feature: you
- can't step through source code as you execute your program.
-
- Yes, you can use SADE with MacApp and it's not as bad as you might think. You
- need -sym versions of MacApp and your program. You can also have both
- debuggers (MacApp and SADE) in use at the same time. Then you can use the
- MacApp debugger's nifty object inspector and SADE's source level debugging. If
- you want to do that, compile your program and MacApp using both the -sym and
- the -debug options. Testing is incredibly slow when you use both of these
- options, however. I use -nodebug -sym and you can even do something like:
- -nodebug -inspector -sym (I found that I had to use these MABuild options in
- that order). Both of these sets of MABuild options offer greater speed during
- debugging and the latter offers the great MacApp object inspector as well as
- the source level debugging of SADE -- but unfortunately not __exactly__ at the
- same time: I can't get the inspector window to activate from SADE during a
- break.
-
- One more bit of information: when you start up SADE these three commands will
- get you ready to do most of the work you'll need to do:
-
- DIRECTORY "put the complete specification of the folder containing your
- source code here"
- TARGET "put the complete specification of the version of your compiled
- application that you are testing here"
- SOURCEPATH "put the complete specification of the folder containing all
- versions of your MacApp libraries here"
-
- Here is an example:
-
- directory "Side Car:MacApp 2.0:Cards"
- target "Side Car:MacApp 2.0:Cards:.NoDebug Sym Inspector"
- sourcepath "Side Car:MacApp 2.0:Libraries"
-
- You'll probably need to check the SADE documentation (such as it is) on how to
- use SADE.
-
- Hope this helps.
-
- Steve Strong
- Developer University
-
-